package com.cmb.abs.orders;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * <pre>
 * 订单微服务
 *
 * 注解说明
 * ComponentScan: 告诉Spring哪些packages下用注解标识的类会被自动扫描并且装入bean容器。
 * EnableEurekaClient:
 * EnableFeighClients:
 * SpringBootApplication:
 *
 * @author shiyunlai
 * </pre>
 */
@ComponentScan("com.cmb.abs")
@EnableEurekaClient
@EnableFeignClients
@SpringBootApplication
public class OrdersServiceApplication {

	public static void main(String[] args) {
		SpringApplication.run(OrdersServiceApplication.class, args);
	}
}
